package standalone;

public class Ranked {
	public static int rank(int kl,double val){
		int rk = 0;
		if(kl == 0)
			val = 1 - val;
		rk = (int) ((val * 100)/10);
		
		return rk;
	}
}
